29 #ifndef ACCOUNTS_PROVIDER_H
30 #define ACCOUNTS_PROVIDER_H
32 #include "Accounts/accountscommon.h"
34 #include <QStringList>
35 #include <QDomDocument>
39 typedef struct _AgProvider AgProvider;
46 typedef QList<Provider> ProviderList;
59 QString displayName()
const;
60 QString description()
const;
61 QString pluginName()
const;
62 QString trCatalog()
const;
63 QString iconName()
const;
64 QString domainsRegExp()
const;
65 bool isSingleAccount()
const;
66 bool hasTag(
const QString &tag)
const;
67 QSet<QString> tags()
const;
68 const QDomDocument domDocument()
const;
72 return p1.m_provider == p2.m_provider || p1.
name() == p2.
name();
78 Provider(AgProvider *provider, ReferenceMode mode = AddReference);
79 AgProvider *provider()
const;
80 AgProvider *m_provider;
81 mutable QSet<QString> *m_tags;
Manager of accounts, services and providers.
Representation of an account provider.
QString name() const
Get the name of the provider.